package com.wp.module.wpType.domain;

import com.wp.common.annotation.Excel;
import com.wp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 壁纸类型对象 wp_type
 * 
 * @author wp
 * @date 2025-02-24
 */
public class WpType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 壁纸分类 */
    @Excel(name = "壁纸分类")
    private String name;

    public WpType() {
    }

    public WpType(String id, String name) {
        super();
        this.id = id;
        this.name = name;
    }

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .toString();
    }
}
